package com.hlhj.funlike_businessqzxd.activity.adapter

import android.util.Log
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.hlhj.funlike_businessqzxd.R
import com.hlhj.funlike_businessqzxd.bean.FoodDetailBean
import com.hlhj.funlike_businessqzxd.bean.FoodListBean

class FoodTypesAdp(private val datas:ArrayList<FoodListBean.DataBeanX.DataBean.Attr>):BaseQuickAdapter<FoodListBean.DataBeanX.DataBean.Attr,BaseViewHolder>(R.layout.attr_list_item,datas) {
    override fun convert(helper: BaseViewHolder?, item: FoodListBean.DataBeanX.DataBean.Attr?) {
        helper?.setText(R.id.itemText,item?.attr_name)
        Log.e("fhp","里面设置了么？${item?.attr_name}")
    }
}